//
//  HMXCommentCell.m
//  音乐播放器
//
//  Created by apple on 16/7/17.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "HMXCommentCell.h"

@interface HMXCommentCell ()

@property (weak, nonatomic) IBOutlet UIButton *ding;

@property (weak, nonatomic) IBOutlet UIButton *comment;

@property (weak, nonatomic) IBOutlet UIButton *repost;

@end

@implementation HMXCommentCell

+(instancetype)viewFromNib{
    
    return [[NSBundle mainBundle]loadNibNamed:NSStringFromClass(self) owner:nil options:nil].lastObject;
}

-(void)setItem:(musicModel *)item{
    
    [self.ding setTitle:item.ding forState:UIControlStateNormal];
    [self.comment setTitle:item.comment forState:UIControlStateNormal];
    [self.repost setTitle:item.repost forState:UIControlStateNormal];
    
}
@end
